﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;
namespace IHISCETeim.BLL
{
    public class UReturn500VisitController
    {
        public static int Add(UReturn500VisitInfo obj)
        {
            return UReturn500VisitDAL.Add(obj);
        }
        public static bool Delete(int ID)
        {
            return UReturn500VisitDAL.Delete(ID);
        }
        public static UReturn500VisitInfo GetList(int ID)
        {
            return CBO.FillObject <UReturn500VisitInfo> (UReturn500VisitDAL.GetList(ID));
        }
        public static DataTable GetPagination(string whereSql, int PageIndex, int PageSize, string Sort, ref int TotalCount)
        {
            return UReturn500VisitDAL.GetPagination(whereSql, PageIndex, PageSize, Sort, ref TotalCount);
        }
        public static bool Update(UReturn500VisitInfo obj)
        {
            return UReturn500VisitDAL.Update(obj);
        }
    }
}
